xlv.obj.iconFrame={
	extend:function(){
		this.extend('xlv.obj.ajaxFrame');
	},
	implement:function(){
	},
	create:function(tag){
		var div=document.createElement((tag||'img'));
		div.setAttribute('xlvobject','xlv.obj.iconFrame');
		Element.addClassName(div,'class_iconFrame');
		return div;
	},
	properties:{
		iconURL:null,
		description:'untitle',
		frameURL:null,
		frameProperties:null,
		frameMethod:null,
		_frameInstance:null,
		iconEffect:true
	},
	method:{
		initial:function(){
			if(this.$P.iconURL!=null)this.setAttribute('src', this.$P.iconURL);
			this.addEventHandler('click','_click');
		},
		_click:function(e){
			var p=this.$P;
			this.request(p.frameURL,p.frameProperties,p.frameMethod);
		}
	}
};

